﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using MINERP.MODEL.FoundationModel;
namespace MINERP.DisjoinProForOutShop.Forms
{
    public partial class FrmSelectSubarea : Form
    {
        public FrmSelectSubarea()
        {
            InitializeComponent();
        }
        public List<PhotoSubarea_Info> listSubarea { get; set; }

        private void FrmSelectSubarea_Load(object sender, EventArgs e)
        {
            comboBox_SelectSubarea.DataSource = listSubarea;
            comboBox_SelectSubarea.DisplayMember = "subareaName";
            comboBox_SelectSubarea.ValueMember = "subAreaId";

            
        }

        private void comboBox_SelectSubarea_SelectionChangeCommitted(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.OK;
        }

    }
}
